<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<style type="text/css">
ul.rightTools {
	float: right;
	display: block;
}

ul.rightTools li {
	float: left;
	display: block;
	margin-left: 5px
}
</style>
<div class="tabs" currentIndex="1" eventType="click">
	<div class="tabsHeader">
		<div class="tabsHeaderContent">
			<ul>
				<li><a href="javascript:;"><span>销售线索</span> </a></li>
				<li><a href="javascript:;"><span>跟进记录</span> </a></li>
			</ul>
		</div>
	</div>
	<div class="tabsContent">
	<div class="pageFormContent" layoutH="100">	
			<p>
				<label>客户名称：</label>
				<label>${b_T_Ufp_SellClue.customername}</label>
			     </p>
			<p>
				<label>需求产品：</label>
				<label>${b_T_Ufp_SellClue.demandproduct}</label>
				</p>
			<p>
				<label>预计金额：</label>
				<label>${b_T_Ufp_SellClue.expectedamount}</label>
				</p>
			<p>
				<label>描述：</label>
				<label>${b_T_Ufp_SellClue.description}</label>
				</p>
		</div>
		<div>
		<div  class="pageHeader">
		 <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="costomer/SellfollowList?b_T_Ufp_SellFollow.sellclueId=${b_T_Ufp_SellFollow.sellclueId}" method="post">
				<div class="searchBar">
					<ul class="searchContent">
					 	<li>
							联系人：<input type="text" id="representative" name="b_T_Ufp_SellFollow.representative" value="${b_T_Ufp_SellFollow.representative}" />
						</li>
					</ul>
					<div class="subBar">
						<ul>
							<li>
								<div class="buttonActive">
									<div class="buttonContent">
										<button type="submit">搜索</button>
									</div>
								</div></li>
							<li></li>
						</ul>
					</div>
				</div>
			</form>
			</div>
			<div class="pageContent">
				<div class="panelBar">
					<ul class="toolBar">
						<li><a title="确实要删除这些记录吗?" target="selectedTodo"
							rel="checkIds"
							href="costomer/SellfollowDel?b_T_Ufp_SellFollow.sellclueId=${b_T_Ufp_SellFollow.sellclueId}"
							class="delete"><span>删除</span> </a>
						<li class="line">line</li>

					</ul>
				</div>

				<table class="table" width="1150" layoutH="158">
					<thead>
						<tr>
							<th width="22"><input type="checkbox" name="checkIds"
								group="checkIds" class="checkboxCtrl"></th>
							<th width="50">序号</th>
							<th width="100" orderField="representative"
								<c:if test="${(pager.orderField)== 'representative' }">class="${pagefollow.orderDirection}"</c:if>>
								联系人</th>
							<th width="80" orderField="contacttime"
								<c:if test="${(pager.orderField)== 'contacttime' }">class="${pagefollow.orderDirection}"</c:if>>
								联系时间</th>

							<th width="100" orderField="communication"
								<c:if test="${(pager.orderField)== 'communication' }">class="${pager.orderDirection}"</c:if>>
								沟通方式</th>
							<th width="150" orderField="result"
								<c:if test="${(pager.orderField)== 'result' }">class="${pager.orderDirection}"</c:if>>
								沟通结果</th>
							<th width="150" orderField="nextplan"
								<c:if test="${(pager.orderField)== 'nextplan' }">class="${pager.orderDirection}"</c:if>>
								下次沟通计划</th>
							<th width="150" orderField="nextplantime"
								<c:if test="${(pager.orderField)== 'nextplantime' }">class="${pager.orderDirection}"</c:if>>
								下次沟通时间</th>
							<th width="70">操作</th>
						</tr>
					</thead>
					<tbody>

						<c:forEach items="${pager.pageRecords}"
							var="b_T_Ufp_SellFollow" varStatus="s">
							<tr target="sid_user" rel="1">
								<td><input name="checkIds"
									value="${b_T_Ufp_SellFollow.uuid}" type="checkbox"></td>
								<td>${s.count +pager.pageSize*(pager.currentPage-1)}</td>
								<td>${b_T_Ufp_SellFollow.representative}</td>
								<td>${b_T_Ufp_SellFollow.contacttime}</td>
								<td>${b_T_Ufp_SellFollow.communication}</td>
								<td>${b_T_Ufp_SellFollow.result}</td>
								<td>${b_T_Ufp_SellFollow.nextplan}</td>
								<td>${b_T_Ufp_SellFollow.nextplantime} <s:date
										name="b_T_Ufp_SellFollow.nextplantime" format="yyyy-MM-dd" />
								</td>
								<td><a title="删除" target="ajaxTodo"
									href="costomer/SellfollowDel?checkIds=${b_T_Ufp_SellFollow.uuid}&b_T_Ufp_SellFollow.sellclueId=${b_T_Ufp_SellFollow.sellclueId}"
									class="btnDel">删除</a> <a title="编辑" target="navTab"
									href="costomer/SellfollowDetail?b_T_Ufp_SellFollow.uuid=${b_T_Ufp_SellFollow.uuid}"
									rel="editMsg" class="btnEdit">编辑</a></td>
							</tr>
						</c:forEach>
					</tbody>
				</table>

				<div class="panelBar">
					<jsp:include page="../include/_dwz_form_bottom.jsp" />
				</div>
			</div>
		</div>
	</div>
</div>